Create the Merchant Acquirer MAC

Command:

Create the Merchant Acquirer MAC.

Notes:

Use of this command requires the optional ESP licence. Error code 67 will be returned if the command is not licensed.

 

Field

Length & Type

Details

COMMAND MESSAGE

Message Header

m A

Will be returned to the Host unchanged

Command Code

2 A

Value “Y8”

*KMACMA

32 H

Double length KMACMA encrypted under LMK pair 22-23 variant 2

Date & Time

6 B

Date and Time

Function Code

2 B

Function Code

IDSOURCE

4 B

IDSOURCE

CURRCPDA

2 B

CURRCPDA, can be all zeroes

Block 1

9 B

Block 1 containing CNTBATCH, CNTACCEPT, IDBATCH, NTBATCH and RESEND

Block 2

9 B

Block 2 containing Amount and Net Reconciliation

End Message Delimiter

1 C

Optional. Must be present if a message trailer is present. Value X'19

Message Trailer

n A

Optional. Maximum length 32 characters

RESPONSE MESSAGE

Message Header

m A

Will be returned to the Host unchanged

Response Code

2 A

Value “Y9”

Error Code

2 N

00 – No error.

10 – KMAC parity error

12 – No keys loaded in user storage

13 – LMK error - report to Supervisor

15 – Error in input data

21 – Invalid user storage index

  

SMA

16 H

Merchant Acquirer MAC

End Message Delimiter

1 C

Will only be present if present in the command message. Value X'19

Message Trailer

n A

Will only be present if in the command message. Maximum length 32 characters